//////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////
// Copyright 2007 CORE Solutions Limited
// All rights reserved.
// PROPRIETARY AND CONFIDENTIAL INFORMATION.
// Use is subject to license terms.
//
// FUNCTION ID      :   CATALOG_DTL_TEMPLATE
// AUTHOR           :   Craig Chun
// DATE CREATE      :   2007/07/20
// DESCRIPTION      :   a VO file for the function, CATALOG_DTL_TEMPLATE
//                  :
//                  :
//                  :
//
// MODIFICATION HISTORY:
// DATE         AUTHOR          VERSION NO.         COMMENT
// -----------  --------------  ------------------  -------------------
// 2007/07/20   Craig Chun      1.0                 source is generated.
//
//
//
//////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////

package com.erp.app.setup.itemDetailTemplate.vo;

import java.math.BigDecimal;
import java.sql.Date;
import java.sql.Timestamp;
import java.util.ArrayList;
import java.util.Collection;

import com.erp.framework.model.vo.SimplePageEditStyleVo;
import com.erp.framework.model.pk.SimplePageEditStylePk;
import com.erp.app.setup.itemDetailTemplate.pk.CatalogDtlTemplatePk;
import com.erp.framework.types.CustomBigDecimal;
import com.erp.framework.types.CustomBigInteger;
import com.erp.framework.types.CustomSqlDate;
import com.erp.framework.types.CustomTimestamp;
import com.erp.framework.types.CustomUtilDate;

/**
* <p>A <strong>VO</strong>(Value Object) is a JavaBean which provides property
* getter and setter methods for all of the bean properties, and implements
* <code>Serializable</code>, as required by the JavaBean specification
* The main purpose for this class is to store the data retrieved from the database,
* and the converted data from the web browsers.
*
* @author          Craig Chun
* @version 1.0     2007/07/20
* @since           FrameWork 1.0
*
*/
public class CatalogDtlTemplateVo extends SimplePageEditStyleVo {

	//DB Table Name: T_CATALOG_DTL_TEMPLATE

	//PK Attributes
	private String companyCode;                                                                        //DB Column Name: COMPANY_CODE
	private CustomBigInteger nodeId;                                                                   //DB Column Name: NODE_ID
	private CustomBigInteger dtlId;                                                                    //DB Column Name: DTL_ID

	//Other Attributes
	private CustomBigInteger hdrSeq;                                                                   //DB Column Name: SEQ
	private String hdrStatus;                                                                          //DB Column Name: STATUS
	private CustomBigInteger hdrBrowserColumn;                                                         //DB Column Name: BROWSER_COLUMN

	private String itemDetailType;
	private String itemDetailName;

	/**
	* Stores the detail child names by the fully-qualified java class path.
	*
	* @author     Craig Chun
	* @since      Framework 1.0
	*/
	protected  void setChildTypesName() {
		//this.childTypesName=new String[2];
		//this.childTypesName[0]="com.erp.app.form.beans.FormApprovalListVo";
		//this.childTypesName[1]="com.erp.app.form.beans.FormAttachmentVo";
	}

	/**
	* Stores the table schema name by the fully-qualified java class path.
	*
	* @author     Craig Chun
	* @since      Framework 1.0
	*/
	protected void setTableSchemaName() {
		this.tableSchemaName="com.erp.app.setup.itemDetailTemplate.schema.CatalogDtlTemplateSchema";
	}

	/**
	* Stores the detail child table schema names by the fully-qualified java class path.
	*
	* @author     Craig Chun
	* @since      Framework 1.0
	*/
	protected  void setChildTableSchemaNames() {
		//this.childTableSchemaNames=new String[2];
		//this.childTableSchemaNames[0]="com.erp.app.form.beans.FormApprovalListSchema";
		//this.childTableSchemaNames[1]="com.erp.app.form.beans.FormAttachmentSchema";
	}

	/**
	* Stores the DAO name by the fully-qualified java class path.
	*
	* @author     Craig Chun
	* @since      Framework 1.0
	*/
	protected void setDaoName() {
		this.daoName="com.erp.app.setup.itemDetailTemplate.dao.CatalogDtlTemplateDao";
	}

	/**
	* Stores the biz logic name by the fully-qualified java class path.
	*
	* @author     Craig Chun
	* @since      Framework 1.0
	*/
	protected void setBizLogicName() {
		this.bizLogicName = "com.erp.app.setup.itemDetailTemplate.bizLogic.CatalogDtlTemplateBizLogic";
	}

	/**
	* Returns the primary key for this class.
	* @return      primary key of this class
	*
	* @author     Craig Chun
	* @since      Framework 1.0
	*/
	public SimplePageEditStylePk getPageEditStylePk() {
		return new CatalogDtlTemplatePk(this.companyCode, this.nodeId, this.dtlId);
	}

	/**
	* Converts to a string representing the data in this object.
	* A new <code>String</code> object is allocated and initialized to
	* contain the character sequence currently represented by this
	* object. This <code>String</code> is then returned. Subsequent
	* changes to this object do not affect the contents of the
	* <code>String</code>.
	*
	* @return     a string representation of the object.
	* @see        java.lang.Object#toString()
	* @author     Craig Chun
	* @since      Framework 1.0
	*/
	public String toString() {
		String pkStr = "PK: {companyCode = " + this.companyCode
			+ "\n, nodeId = " + this.nodeId
			+ "\n, dtlId = " + this.dtlId + "}\n";

		String colStr = "COL: {hdrSeq = " + this.hdrSeq
			+ "\n, hdrStatus = " + this.hdrStatus
			+ "\n, hdrBrowserColumn = " + this.hdrBrowserColumn + "}\n";

		return "CatalogDtlTemplateVo.toString() is:\n" + pkStr + colStr;
	}

	////////////////////////////////////////////////////////////////////////////////
	//Generated Accessors (get/set methods)
	////////////////////////////////////////////////////////////////////////////////

	public String getCompanyCode() {
		return this.companyCode;
	}

	public CustomBigInteger getNodeId() {
		return this.nodeId;
	}

	public CustomBigInteger getDtlId() {
		return this.dtlId;
	}

	public CustomBigInteger getHdrSeq() {
		return this.hdrSeq;
	}

	public String getHdrStatus() {
		return this.hdrStatus;
	}

	public CustomBigInteger getHdrBrowserColumn() {
		return this.hdrBrowserColumn;
	}

	public void setCompanyCode(String companyCode) {
		this.companyCode = companyCode;
	}

	public void setNodeId(CustomBigInteger nodeId) {
		this.nodeId = nodeId;
	}

	public void setDtlId(CustomBigInteger dtlId) {
		this.dtlId = dtlId;
	}

	public void setHdrSeq(CustomBigInteger hdrSeq) {
		this.hdrSeq = hdrSeq;
	}

	public void setHdrStatus(String hdrStatus) {
		this.hdrStatus = hdrStatus;
	}

	public void setHdrBrowserColumn(CustomBigInteger hdrBrowserColumn) {
		this.hdrBrowserColumn = hdrBrowserColumn;
	}

	public String getItemDetailName() {
		return itemDetailName;
	}

	public void setItemDetailName(String itemDetailName) {
		this.itemDetailName = itemDetailName;
	}

	public String getItemDetailType() {
		return itemDetailType;
	}

	public void setItemDetailType(String itemDetailType) {
		this.itemDetailType = itemDetailType;
	}

	////////////////////////////////////////////////////////////////////////////////
	//Other Accessors (get/set methods)
	////////////////////////////////////////////////////////////////////////////////


}